const myPlugins = {}
myPlugins.install = Vue => {
	Vue.globalMethods = () => {
		console.log('全局方法')
	}
	Vue.directive('mydirective', {
		// el, binding, vnode
		bind() {
			// el.style.arg = binding.value.arg;
			console.log('插件指令')
		}
	})
	Vue.mixin({
		created() {
			// console.log('mixin');
		}
	})
	Vue.prototype.$http = () => {
		console.log('$http')
	}
}
export default myPlugins
